﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Utils
{
    public class PageDto
    {
        /// <summary>
        /// 转中文标题内容
        /// </summary>
        public string details { get; set; }
        /// <summary>
        /// 要显示的行数
        /// </summary>
        public int line { get; set; }
        /// <summary>
        /// 开始行
        /// </summary>
        public int start { get; set; }
        /// <summary>
        /// 连表列对象
        /// </summary>
        public string column { get; set; }
        /// <summary>
        /// 连表列对象2
        /// </summary>
        public string column1 { get; set; }

        /// <summary>
        /// 表名1
        /// </summary>
        public string tab { get; set; }
        /// <summary>
        /// 表名2
        /// </summary>
        public string tab1 { get; set; }
        
        /// <summary>
        /// 表名2
        /// </summary>
        public string BookId { get; set; }

        public PageDto()
        {

        }

        public PageDto(string bookId)
        {
            BookId = bookId;
        }

        public PageDto(string details, int line, int start, string column, string column1, string tab, string tab1, string bookId)
        {
            this.details = details;
            this.line = line;
            this.start = start;
            this.column = column;
            this.column1 = column1;
            this.tab = tab;
            this.tab1 = tab1;
            BookId = bookId;
        }
    }
}
